package com.spzx.order.mapper;

import com.spzx.model.entity.order.OrderItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Project: spzx-parent
 * Package: com.spzx.order.mapper
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/5/4 下午10:23
 */
@Mapper
public interface OrderItemMapper {
    //
    void save(OrderItem orderItem);

    //订单里面所有订单项
    List<OrderItem> findByOrderId(Long id);
}
